<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-3">{:__('Shop_id')}:</label>
        <div class="col-xs-12 col-sm-6">
            <select id="c-shop_id" class="form-control" name="row[shop_id]" data-rule="required">
                <option value=''>请选择</option>
                {foreach name="shopList" item="item"}
                <option value="{$item.id}" {in name="$item.id" value="$row.shop_id"}selected{/in}>{$item.shop_name}</option>

                {/foreach}
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-3">{:__('Sn')}:</label>
        <div class="col-xs-12 col-sm-6">
            <input id="c-sn" class="form-control" name="row[sn]" type="number" placeholder="请输入打印机编号,9位数字" value="{$row.sn|htmlentities}" readonly>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-3">{:__('Key')}:</label>
        <div class="col-xs-12 col-sm-6">
            <input id="c-key" class="form-control" name="row[key]" type="text" placeholder="打印机底部标签没有KEY,找客服获取" value="{$row.key|htmlentities}" readonly>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-3">{:__('Remarks')}:</label>
        <div class="col-xs-12 col-sm-6">
            <input id="c-remarks" class="form-control" name="row[remarks]" type="text" placeholder="如地址、店铺名等、便于管理" value="{$row.remarks|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-3">{:__('Flow_card_number')}:</label>
        <div class="col-xs-12 col-sm-6">
            <input id="c-flow_card_number" class="form-control" name="row[flow_card_number]" type="text" placeholder="适用于GPRS打印记,便于充值(仅限于飞鹅流量卡号)" value="{$row.flow_card_number|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-3"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
